/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bddfirstproject;

import java.util.Properties;
import java.io.IOException;
import java.io.InputStream;

public class PropsUtils {
    private PropsUtils() {  }
    /**
     * Load a Properties File
     * @param propsFile
     * @return Properties
     * @throws IOException
     */
    
    private static final boolean MODE_DEV = false;
    
    public static Properties load(String propsFile) throws IOException {
        Properties props = new Properties();
        InputStream inputStream = PropsUtils.class.getResourceAsStream(propsFile);
        props.load(inputStream);
        
        return props;
    }
}